package com.fanco.learn_datastruct_leetcode.designpattern.flyweight;

/**
 * @author qiaowang 2022/2/16
 * 描述
 */
public class ConcreteWebSite extends WebSite{

    private String type ="";

    public ConcreteWebSite(String type) {
        this.type = type;
    }

    @Override
    public void use() {
        System.out.println("网站的发布形式为：" + type);
    }
}
